import http from "@/utils/request";
import { ResultEnum } from "@/enums/httpEnum";

export const queryList = async () => {
  try {
    const data = await http.post("/api/emma/taskProgress", {
      outputPath: "./data/project/2025-07-07/a24198a31a6098133aa2a036debe22d0",
    });
    return data?.code === ResultEnum.SUCCESS0 ? data?.data : null;
  } catch (_error) {
    return null;
  }
};
